package com.cloudkinto.service.finance.vo.exportVo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/7/7 9:41
 * @description:
 */
@Data
public class StockFeeExcelExportVo implements Serializable {
    /**
     * 业务类型 0出库订单 1 入库订单 2仓储费 3货运费 4清关费
     */
    private Integer type;
    @Excel(name = "店铺", width = 20 , needMerge = true)
    private String shopName;
    /**
     * 消费时间
     */
    @Excel(name = "消费时间", width = 20, format = "yyyy-MM-dd" , needMerge = true)
    private Date createTime;

    /**
     * 消费内容
     */
    @Excel(name = "消费内容", width = 20 , needMerge = true)
    private String content;

    /**
     * 扣款账户
     */
    @Excel(name = "扣款账户", width = 20, type = 10, needMerge = true, replace = {"人民币账户_0", "日币账户_1"})
    private Integer accountType;

    /**
     * 消费金额
     */
    @Excel(name = "消费金额", width = 20 ,type = 10, needMerge = true)
    private Double costAmount;

    /**
     * 消费金额
     */
    @Excel(name = "消费后余额", width = 20 ,type = 10, needMerge = true)
    private Double afterAmount;
    @ExcelCollection(name = "仓储信息")
    private List<StockFeeVo> stockFeeVoList;
}
